package tool

import java.io.File

/**
 * Created by yz on 16/9/2021
 */
object Pojo {

  case class AccountData(account: String)

  case class UserData(account: String, password: String)

  case class ChangePasswordData(password: String, newPassword: String)

  case class SampleNameData(sampleName: String)

  case class SampleData(id: Int, sampleName: String, describe: String)

  case class DescribeData(describe: String)

  case class MyMessage(valid: Boolean, message: String)

  case class IdsData(ids: List[Int])

  case class IdData(id: Int)

  case class RangeData(range: String)

  case class PathData(path: String)

  case class IdOpData(id: Option[Int])

  case class QueryData(method: String, queryText: String, db: String, evalue: String, wordSize: String, maxTargetSeqs: String)

  case class CommandData(workspace: File, command: List[String])

  case class NameData(name: String)

  case class MissionNameData(missionName: String)

  case class MissionData(missionName: String, missionIntro: String, db: String, trim5: String, trim3: String,
                         threadNum: Int)

  case class MissionDirData(workspaceDir: File, resultDir: File, logFile: File)

  case class MissionIdData(missionId: Int)

  case class FileNameData(fileName: String)

  case class MissionIdOptionData(missionId: Option[Int])


}
